package com.yumeng.webapp.shiro;

import com.yumeng.framework.runtime.ApplicationPrinter;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * 启动类，认证框架：shiro
 *
 * @author wxd
 * @date 2025/9/18 22:44
 */
@Slf4j
@MapperScan({"com.yumeng.**.mapper"})
@SpringBootApplication(scanBasePackages = {"com.yumeng"})
public class ShiroYumengApplication {

    public static void main(String[] args) {
        log.info("############################################：ShiroYumengApplication 开始启动...");
        ConfigurableApplicationContext context = SpringApplication.run(ShiroYumengApplication.class, args);
        ApplicationPrinter.printApplicationInfo(context);
    }

}
